﻿namespace Snblog.Enties.Models;

public partial class Diary
{
    public int Id { get; set; }
    public string Name { get; set; }
    public string Text { get; set; }
    public string Img { get; set; }
    public int Read { get; set; }
    public int Give { get; set; }
    public int UserId { get; set; }
    public uint CommentId { get; set; }
    public int TypeId { get; set; }
    public DateTime TimeCreate { get; set; }
    public DateTime TimeModified { get; set; }

    public virtual DiaryType Type { get; set; }
    public virtual User User { get; set; }
}